package com.xomily.devops.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.xomily.common.annotation.Excel;
import com.xomily.common.core.domain.BaseEntity;

/**
 * 服务日志对象 dev_url_log
 * 
 * @author xomily
 * @date 2021-11-29
 */
public class DevUrlLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** UR编号 */
    @Excel(name = "UR编号")
    private Long urlId;

    /** 请求时间 */
    @Excel(name = "请求时间")
    private Long times;

    /** 大小 */
    @Excel(name = "大小")
    private Long size;

    /** 状态码 */
    @Excel(name = "状态码")
    private String code;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUrlId(Long urlId) 
    {
        this.urlId = urlId;
    }

    public Long getUrlId() 
    {
        return urlId;
    }
    public void setTimes(Long times) 
    {
        this.times = times;
    }

    public Long getTimes() 
    {
        return times;
    }
    public void setSize(Long size) 
    {
        this.size = size;
    }

    public Long getSize() 
    {
        return size;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("urlId", getUrlId())
            .append("times", getTimes())
            .append("size", getSize())
            .append("code", getCode())
            .append("createTime", getCreateTime())
            .toString();
    }
}
